<include file="Public:header" />
<style>
.STYLE1 {
    color: #F00;
}

.STYLE2 {
    color: #00F;
}
    .field{ padding: 10px 0 10px 20px;font-size: 16px;}
</style>

<script language="JavaScript">
    ifcheck = true;
    function CheckAll(form)
    {
        for (var i=0;i<form.elements.length-2;i++)
        {
            var e = form.elements[i];
            e.checked = ifcheck;
        }
        ifcheck = ifcheck == true ? false : true;
    }
</script>

<div class="ncenter_box">
    <div class="accounttitle">
        <h1>{$title} </h1></div>
        <form method='post' action="__URL__/baodan">
            <div class="field">
                <label>查询：</label>
                <input type="text" name="UserID" title="帐号查询" placeholder="会员编号" value="{$UserID}">
                <select name="type">
                    <option value="">全部</option>
                    <option value="0" <eq name="type" value="0">selected</eq>>后台开通</option>
                    <option value="1" <eq name="type" value="1">selected</eq>>代理开通</option>
                    <option value="2" <eq name="type" value="2">selected</eq>>账号复投</option>
                </select>
                <select name="is_pay">
                    <option value="">全部</option>
                    <option value="0" <eq name="is_pay" value="0">selected</eq>>未处理</option>
                    <option value="1" <eq name="is_pay" value="1">selected</eq>>已处理</option>
                </select>
            </div>

            <input type="submit" name="Submit" value="查 询"  class="btn1"/>

    </form>
    <form name="form3" method="post" action="__URL__/baodanSave">
        <table width="100%" class="tab3" border="0" cellpadding="0" cellspacing="1" bgcolor="#b9c8d0" id="tb1">
            <tr align="center">
                <th>
                    <input type="checkbox" name="chkall" value="checkbox" onclick="CheckAll(this.form)" class="btn2" id="chkall" />
                </th>

                <th><span>会员编号</span></th>
                <th><span>级别</span></th>
                <th><span>注册资金</span></th>
                <th><span>类型</span></th>
                <th><span>收货人</span></th>
                <th><span>收货地址</span></th>
                <th><span>电话</span></th>
                <th><span>状态</span></th>
            </tr>
            <volist name="list" id="vo">
                <tr class="content_td lz" align="center">
                    <td>
                        <input type="checkbox" name="tabledb[]" value="{$vo['id']}" class="btn2" />
                    </td>
                    <td>{$vo['user_id']}</td>
                    <td>{$voo[$vo['u_level']]}</td>
                    <td>{$vo['cpzj']}</td>
                    <td>
                        <eq name="vo.type" value="0">后台开通</eq>
                        <eq name="vo.type" value="1">代理开通</eq>
                        <eq name="vo.type" value="2">账号复投</eq>
                    </td>
                    <td>{$vo['receive_name']}</td>
                    <td>{$vo['receive_address']}</td>
                    <td>{$vo['receive_tel']}</td>
                    <td>
                        <eq name="vo.is_pay" value="0">未处理</eq>
                        <eq name="vo.is_pay" value="1">已处理</eq>
                    </td>
                </tr>
            </volist>
        </table>
        <table width="100%" class="tab3_bottom" border="0" cellpadding="0" cellspacing="1" bgcolor="#b9c8d0">
            <tr>
                <td>
                    <input name="全选" type="button" class="ui negative basic mini btn button_text" id="全选" onclick="CheckAll(this.form)" value="全选" />&nbsp;&nbsp;
                    <input type="submit" name="action" value="处理" onclick="{if(confirm('确定处理选中订单?')){return true;}return false;}" class="ui negative basic mini btn button_text"  />
                    <input type="submit" name="action" value="删除" onclick="{if(confirm('确定要删除选中的报单信息吗?')){return true;}return false;}" class="ui negative basic mini btn button_text"  />
                    <input type="button" name="action" value="导出表格" onclick="{if(confirm('导出表格?')){window.location.href='__URL__/daochuTable';}return false;}" class="ui negative basic mini btn button_text" id="action" />&nbsp;&nbsp;
                </td>

            </tr>

        </table>
    </form>
    <link rel="stylesheet" href="__PUBLIC__/Css/page.css">
    <div style="text-align: center" class="pagelist">{$page}</div>

    <include file="Public:footer" />